package cn.wgx.modules.sys.entity;

import java.util.ArrayList;
import java.util.Date;
import java.util.List;

public class SysUserLikeExample {
    /**
     *
     * @mbg.generated Tue Jul 28 18:06:23 CST 2020
     */
    protected String orderByClause;

    /**
     *
     * @mbg.generated Tue Jul 28 18:06:23 CST 2020
     */
    protected boolean distinct;

    /**
     *
     * @mbg.generated Tue Jul 28 18:06:23 CST 2020
     */
    protected List<Criteria> oredCriteria;

    /**
     *
     * @mbg.generated Tue Jul 28 18:06:23 CST 2020
     */
    public SysUserLikeExample() {
        oredCriteria = new ArrayList<Criteria>();
    }

    /**
     *
     * @mbg.generated Tue Jul 28 18:06:23 CST 2020
     */
    public void setOrderByClause(String orderByClause) {
        this.orderByClause = orderByClause;
    }

    /**
     *
     * @mbg.generated Tue Jul 28 18:06:23 CST 2020
     */
    public String getOrderByClause() {
        return orderByClause;
    }

    /**
     *
     * @mbg.generated Tue Jul 28 18:06:23 CST 2020
     */
    public void setDistinct(boolean distinct) {
        this.distinct = distinct;
    }

    /**
     *
     * @mbg.generated Tue Jul 28 18:06:23 CST 2020
     */
    public boolean isDistinct() {
        return distinct;
    }

    /**
     *
     * @mbg.generated Tue Jul 28 18:06:23 CST 2020
     */
    public List<Criteria> getOredCriteria() {
        return oredCriteria;
    }

    /**
     *
     * @mbg.generated Tue Jul 28 18:06:23 CST 2020
     */
    public void or(Criteria criteria) {
        oredCriteria.add(criteria);
    }

    /**
     *
     * @mbg.generated Tue Jul 28 18:06:23 CST 2020
     */
    public Criteria or() {
        Criteria criteria = createCriteriaInternal();
        oredCriteria.add(criteria);
        return criteria;
    }

    /**
     *
     * @mbg.generated Tue Jul 28 18:06:23 CST 2020
     */
    public SysUserLikeExample orderBy(String orderByClause) {
        this.setOrderByClause(orderByClause);
        return this;
    }

    /**
     *
     * @mbg.generated Tue Jul 28 18:06:23 CST 2020
     */
    public SysUserLikeExample orderBy(String ... orderByClauses) {
        StringBuffer sb = new StringBuffer();
        for (int i = 0; i < orderByClauses.length; i++) {
            sb.append(orderByClauses[i]);
            if (i < orderByClauses.length - 1) {
                sb.append(" , ");
            }
        }
        this.setOrderByClause(sb.toString());
        return this;
    }

    /**
     *
     * @mbg.generated Tue Jul 28 18:06:23 CST 2020
     */
    public Criteria createCriteria() {
        Criteria criteria = createCriteriaInternal();
        if (oredCriteria.size() == 0) {
            oredCriteria.add(criteria);
        }
        return criteria;
    }

    /**
     *
     * @mbg.generated Tue Jul 28 18:06:23 CST 2020
     */
    protected Criteria createCriteriaInternal() {
        Criteria criteria = new Criteria(this);
        return criteria;
    }

    /**
     *
     * @mbg.generated Tue Jul 28 18:06:23 CST 2020
     */
    public void clear() {
        oredCriteria.clear();
        orderByClause = null;
        distinct = false;
    }

    /**
     *
     * @mbg.generated Tue Jul 28 18:06:23 CST 2020
     */
    public static Criteria newAndCreateCriteria() {
        SysUserLikeExample example = new SysUserLikeExample();
        return example.createCriteria();
    }

    /**
     *
     * @mbg.generated Tue Jul 28 18:06:23 CST 2020
     */
    protected abstract static class GeneratedCriteria {
        protected List<Criterion> criteria;

        protected GeneratedCriteria() {
            super();
            criteria = new ArrayList<Criterion>();
        }

        public boolean isValid() {
            return criteria.size() > 0;
        }

        public List<Criterion> getAllCriteria() {
            return criteria;
        }

        public List<Criterion> getCriteria() {
            return criteria;
        }

        protected void addCriterion(String condition) {
            if (condition == null) {
                throw new RuntimeException("Value for condition cannot be null");
            }
            criteria.add(new Criterion(condition));
        }

        protected void addCriterion(String condition, Object value, String property) {
            if (value == null) {
                throw new RuntimeException("Value for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value));
        }

        protected void addCriterion(String condition, Object value1, Object value2, String property) {
            if (value1 == null || value2 == null) {
                throw new RuntimeException("Between values for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value1, value2));
        }

        public Criteria andLike_idIsNull() {
            addCriterion("t.like_id is null");
            return (Criteria) this;
        }

        public Criteria andLike_idIsNotNull() {
            addCriterion("t.like_id is not null");
            return (Criteria) this;
        }

        public Criteria andLike_idEqualTo(Integer value) {
            addCriterion("t.like_id =", value, "like_id");
            return (Criteria) this;
        }

        /**
         *
         * @mbg.generated Tue Jul 28 18:06:23 CST 2020
         */
        public Criteria andLike_idEqualToColumn(SysUserLike.Column column) {
            addCriterion(new StringBuilder("t.like_id = ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andLike_idNotEqualTo(Integer value) {
            addCriterion("t.like_id <>", value, "like_id");
            return (Criteria) this;
        }

        /**
         *
         * @mbg.generated Tue Jul 28 18:06:23 CST 2020
         */
        public Criteria andLike_idNotEqualToColumn(SysUserLike.Column column) {
            addCriterion(new StringBuilder("t.like_id <> ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andLike_idGreaterThan(Integer value) {
            addCriterion("t.like_id >", value, "like_id");
            return (Criteria) this;
        }

        /**
         *
         * @mbg.generated Tue Jul 28 18:06:23 CST 2020
         */
        public Criteria andLike_idGreaterThanColumn(SysUserLike.Column column) {
            addCriterion(new StringBuilder("t.like_id > ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andLike_idGreaterThanOrEqualTo(Integer value) {
            addCriterion("t.like_id >=", value, "like_id");
            return (Criteria) this;
        }

        /**
         *
         * @mbg.generated Tue Jul 28 18:06:23 CST 2020
         */
        public Criteria andLike_idGreaterThanOrEqualToColumn(SysUserLike.Column column) {
            addCriterion(new StringBuilder("t.like_id >= ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andLike_idLessThan(Integer value) {
            addCriterion("t.like_id <", value, "like_id");
            return (Criteria) this;
        }

        /**
         *
         * @mbg.generated Tue Jul 28 18:06:23 CST 2020
         */
        public Criteria andLike_idLessThanColumn(SysUserLike.Column column) {
            addCriterion(new StringBuilder("t.like_id < ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andLike_idLessThanOrEqualTo(Integer value) {
            addCriterion("t.like_id <=", value, "like_id");
            return (Criteria) this;
        }

        /**
         *
         * @mbg.generated Tue Jul 28 18:06:23 CST 2020
         */
        public Criteria andLike_idLessThanOrEqualToColumn(SysUserLike.Column column) {
            addCriterion(new StringBuilder("t.like_id <= ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andLike_idIn(List<Integer> values) {
            addCriterion("t.like_id in", values, "like_id");
            return (Criteria) this;
        }

        public Criteria andLike_idNotIn(List<Integer> values) {
            addCriterion("t.like_id not in", values, "like_id");
            return (Criteria) this;
        }

        public Criteria andLike_idBetween(Integer value1, Integer value2) {
            addCriterion("t.like_id between", value1, value2, "like_id");
            return (Criteria) this;
        }

        public Criteria andLike_idNotBetween(Integer value1, Integer value2) {
            addCriterion("t.like_id not between", value1, value2, "like_id");
            return (Criteria) this;
        }

        public Criteria andUser_idIsNull() {
            addCriterion("t.user_id is null");
            return (Criteria) this;
        }

        public Criteria andUser_idIsNotNull() {
            addCriterion("t.user_id is not null");
            return (Criteria) this;
        }

        public Criteria andUser_idEqualTo(Integer value) {
            addCriterion("t.user_id =", value, "user_id");
            return (Criteria) this;
        }

        /**
         *
         * @mbg.generated Tue Jul 28 18:06:23 CST 2020
         */
        public Criteria andUser_idEqualToColumn(SysUserLike.Column column) {
            addCriterion(new StringBuilder("t.user_id = ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andUser_idNotEqualTo(Integer value) {
            addCriterion("t.user_id <>", value, "user_id");
            return (Criteria) this;
        }

        /**
         *
         * @mbg.generated Tue Jul 28 18:06:23 CST 2020
         */
        public Criteria andUser_idNotEqualToColumn(SysUserLike.Column column) {
            addCriterion(new StringBuilder("t.user_id <> ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andUser_idGreaterThan(Integer value) {
            addCriterion("t.user_id >", value, "user_id");
            return (Criteria) this;
        }

        /**
         *
         * @mbg.generated Tue Jul 28 18:06:23 CST 2020
         */
        public Criteria andUser_idGreaterThanColumn(SysUserLike.Column column) {
            addCriterion(new StringBuilder("t.user_id > ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andUser_idGreaterThanOrEqualTo(Integer value) {
            addCriterion("t.user_id >=", value, "user_id");
            return (Criteria) this;
        }

        /**
         *
         * @mbg.generated Tue Jul 28 18:06:23 CST 2020
         */
        public Criteria andUser_idGreaterThanOrEqualToColumn(SysUserLike.Column column) {
            addCriterion(new StringBuilder("t.user_id >= ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andUser_idLessThan(Integer value) {
            addCriterion("t.user_id <", value, "user_id");
            return (Criteria) this;
        }

        /**
         *
         * @mbg.generated Tue Jul 28 18:06:23 CST 2020
         */
        public Criteria andUser_idLessThanColumn(SysUserLike.Column column) {
            addCriterion(new StringBuilder("t.user_id < ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andUser_idLessThanOrEqualTo(Integer value) {
            addCriterion("t.user_id <=", value, "user_id");
            return (Criteria) this;
        }

        /**
         *
         * @mbg.generated Tue Jul 28 18:06:23 CST 2020
         */
        public Criteria andUser_idLessThanOrEqualToColumn(SysUserLike.Column column) {
            addCriterion(new StringBuilder("t.user_id <= ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andUser_idIn(List<Integer> values) {
            addCriterion("t.user_id in", values, "user_id");
            return (Criteria) this;
        }

        public Criteria andUser_idNotIn(List<Integer> values) {
            addCriterion("t.user_id not in", values, "user_id");
            return (Criteria) this;
        }

        public Criteria andUser_idBetween(Integer value1, Integer value2) {
            addCriterion("t.user_id between", value1, value2, "user_id");
            return (Criteria) this;
        }

        public Criteria andUser_idNotBetween(Integer value1, Integer value2) {
            addCriterion("t.user_id not between", value1, value2, "user_id");
            return (Criteria) this;
        }

        public Criteria andTypeIsNull() {
            addCriterion("t.type is null");
            return (Criteria) this;
        }

        public Criteria andTypeIsNotNull() {
            addCriterion("t.type is not null");
            return (Criteria) this;
        }

        public Criteria andTypeEqualTo(Integer value) {
            addCriterion("t.type =", value, "type");
            return (Criteria) this;
        }

        /**
         *
         * @mbg.generated Tue Jul 28 18:06:23 CST 2020
         */
        public Criteria andTypeEqualToColumn(SysUserLike.Column column) {
            addCriterion(new StringBuilder("t.type = ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andTypeNotEqualTo(Integer value) {
            addCriterion("t.type <>", value, "type");
            return (Criteria) this;
        }

        /**
         *
         * @mbg.generated Tue Jul 28 18:06:23 CST 2020
         */
        public Criteria andTypeNotEqualToColumn(SysUserLike.Column column) {
            addCriterion(new StringBuilder("t.type <> ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andTypeGreaterThan(Integer value) {
            addCriterion("t.type >", value, "type");
            return (Criteria) this;
        }

        /**
         *
         * @mbg.generated Tue Jul 28 18:06:23 CST 2020
         */
        public Criteria andTypeGreaterThanColumn(SysUserLike.Column column) {
            addCriterion(new StringBuilder("t.type > ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andTypeGreaterThanOrEqualTo(Integer value) {
            addCriterion("t.type >=", value, "type");
            return (Criteria) this;
        }

        /**
         *
         * @mbg.generated Tue Jul 28 18:06:23 CST 2020
         */
        public Criteria andTypeGreaterThanOrEqualToColumn(SysUserLike.Column column) {
            addCriterion(new StringBuilder("t.type >= ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andTypeLessThan(Integer value) {
            addCriterion("t.type <", value, "type");
            return (Criteria) this;
        }

        /**
         *
         * @mbg.generated Tue Jul 28 18:06:23 CST 2020
         */
        public Criteria andTypeLessThanColumn(SysUserLike.Column column) {
            addCriterion(new StringBuilder("t.type < ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andTypeLessThanOrEqualTo(Integer value) {
            addCriterion("t.type <=", value, "type");
            return (Criteria) this;
        }

        /**
         *
         * @mbg.generated Tue Jul 28 18:06:23 CST 2020
         */
        public Criteria andTypeLessThanOrEqualToColumn(SysUserLike.Column column) {
            addCriterion(new StringBuilder("t.type <= ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andTypeIn(List<Integer> values) {
            addCriterion("t.type in", values, "type");
            return (Criteria) this;
        }

        public Criteria andTypeNotIn(List<Integer> values) {
            addCriterion("t.type not in", values, "type");
            return (Criteria) this;
        }

        public Criteria andTypeBetween(Integer value1, Integer value2) {
            addCriterion("t.type between", value1, value2, "type");
            return (Criteria) this;
        }

        public Criteria andTypeNotBetween(Integer value1, Integer value2) {
            addCriterion("t.type not between", value1, value2, "type");
            return (Criteria) this;
        }

        public Criteria andRes_idIsNull() {
            addCriterion("t.res_id is null");
            return (Criteria) this;
        }

        public Criteria andRes_idIsNotNull() {
            addCriterion("t.res_id is not null");
            return (Criteria) this;
        }

        public Criteria andRes_idEqualTo(Integer value) {
            addCriterion("t.res_id =", value, "res_id");
            return (Criteria) this;
        }

        /**
         *
         * @mbg.generated Tue Jul 28 18:06:23 CST 2020
         */
        public Criteria andRes_idEqualToColumn(SysUserLike.Column column) {
            addCriterion(new StringBuilder("t.res_id = ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andRes_idNotEqualTo(Integer value) {
            addCriterion("t.res_id <>", value, "res_id");
            return (Criteria) this;
        }

        /**
         *
         * @mbg.generated Tue Jul 28 18:06:23 CST 2020
         */
        public Criteria andRes_idNotEqualToColumn(SysUserLike.Column column) {
            addCriterion(new StringBuilder("t.res_id <> ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andRes_idGreaterThan(Integer value) {
            addCriterion("t.res_id >", value, "res_id");
            return (Criteria) this;
        }

        /**
         *
         * @mbg.generated Tue Jul 28 18:06:23 CST 2020
         */
        public Criteria andRes_idGreaterThanColumn(SysUserLike.Column column) {
            addCriterion(new StringBuilder("t.res_id > ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andRes_idGreaterThanOrEqualTo(Integer value) {
            addCriterion("t.res_id >=", value, "res_id");
            return (Criteria) this;
        }

        /**
         *
         * @mbg.generated Tue Jul 28 18:06:23 CST 2020
         */
        public Criteria andRes_idGreaterThanOrEqualToColumn(SysUserLike.Column column) {
            addCriterion(new StringBuilder("t.res_id >= ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andRes_idLessThan(Integer value) {
            addCriterion("t.res_id <", value, "res_id");
            return (Criteria) this;
        }

        /**
         *
         * @mbg.generated Tue Jul 28 18:06:23 CST 2020
         */
        public Criteria andRes_idLessThanColumn(SysUserLike.Column column) {
            addCriterion(new StringBuilder("t.res_id < ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andRes_idLessThanOrEqualTo(Integer value) {
            addCriterion("t.res_id <=", value, "res_id");
            return (Criteria) this;
        }

        /**
         *
         * @mbg.generated Tue Jul 28 18:06:23 CST 2020
         */
        public Criteria andRes_idLessThanOrEqualToColumn(SysUserLike.Column column) {
            addCriterion(new StringBuilder("t.res_id <= ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andRes_idIn(List<Integer> values) {
            addCriterion("t.res_id in", values, "res_id");
            return (Criteria) this;
        }

        public Criteria andRes_idNotIn(List<Integer> values) {
            addCriterion("t.res_id not in", values, "res_id");
            return (Criteria) this;
        }

        public Criteria andRes_idBetween(Integer value1, Integer value2) {
            addCriterion("t.res_id between", value1, value2, "res_id");
            return (Criteria) this;
        }

        public Criteria andRes_idNotBetween(Integer value1, Integer value2) {
            addCriterion("t.res_id not between", value1, value2, "res_id");
            return (Criteria) this;
        }

        public Criteria andGidIsNull() {
            addCriterion("t.gid is null");
            return (Criteria) this;
        }

        public Criteria andGidIsNotNull() {
            addCriterion("t.gid is not null");
            return (Criteria) this;
        }

        public Criteria andGidEqualTo(Integer value) {
            addCriterion("t.gid =", value, "gid");
            return (Criteria) this;
        }

        /**
         *
         * @mbg.generated Tue Jul 28 18:06:23 CST 2020
         */
        public Criteria andGidEqualToColumn(SysUserLike.Column column) {
            addCriterion(new StringBuilder("t.gid = ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andGidNotEqualTo(Integer value) {
            addCriterion("t.gid <>", value, "gid");
            return (Criteria) this;
        }

        /**
         *
         * @mbg.generated Tue Jul 28 18:06:23 CST 2020
         */
        public Criteria andGidNotEqualToColumn(SysUserLike.Column column) {
            addCriterion(new StringBuilder("t.gid <> ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andGidGreaterThan(Integer value) {
            addCriterion("t.gid >", value, "gid");
            return (Criteria) this;
        }

        /**
         *
         * @mbg.generated Tue Jul 28 18:06:23 CST 2020
         */
        public Criteria andGidGreaterThanColumn(SysUserLike.Column column) {
            addCriterion(new StringBuilder("t.gid > ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andGidGreaterThanOrEqualTo(Integer value) {
            addCriterion("t.gid >=", value, "gid");
            return (Criteria) this;
        }

        /**
         *
         * @mbg.generated Tue Jul 28 18:06:23 CST 2020
         */
        public Criteria andGidGreaterThanOrEqualToColumn(SysUserLike.Column column) {
            addCriterion(new StringBuilder("t.gid >= ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andGidLessThan(Integer value) {
            addCriterion("t.gid <", value, "gid");
            return (Criteria) this;
        }

        /**
         *
         * @mbg.generated Tue Jul 28 18:06:23 CST 2020
         */
        public Criteria andGidLessThanColumn(SysUserLike.Column column) {
            addCriterion(new StringBuilder("t.gid < ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andGidLessThanOrEqualTo(Integer value) {
            addCriterion("t.gid <=", value, "gid");
            return (Criteria) this;
        }

        /**
         *
         * @mbg.generated Tue Jul 28 18:06:23 CST 2020
         */
        public Criteria andGidLessThanOrEqualToColumn(SysUserLike.Column column) {
            addCriterion(new StringBuilder("t.gid <= ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andGidIn(List<Integer> values) {
            addCriterion("t.gid in", values, "gid");
            return (Criteria) this;
        }

        public Criteria andGidNotIn(List<Integer> values) {
            addCriterion("t.gid not in", values, "gid");
            return (Criteria) this;
        }

        public Criteria andGidBetween(Integer value1, Integer value2) {
            addCriterion("t.gid between", value1, value2, "gid");
            return (Criteria) this;
        }

        public Criteria andGidNotBetween(Integer value1, Integer value2) {
            addCriterion("t.gid not between", value1, value2, "gid");
            return (Criteria) this;
        }

        public Criteria andCreateDateIsNull() {
            addCriterion("t.createDate is null");
            return (Criteria) this;
        }

        public Criteria andCreateDateIsNotNull() {
            addCriterion("t.createDate is not null");
            return (Criteria) this;
        }

        public Criteria andCreateDateEqualTo(Date value) {
            addCriterion("t.createDate =", value, "createDate");
            return (Criteria) this;
        }

        /**
         *
         * @mbg.generated Tue Jul 28 18:06:23 CST 2020
         */
        public Criteria andCreateDateEqualToColumn(SysUserLike.Column column) {
            addCriterion(new StringBuilder("t.createDate = ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andCreateDateNotEqualTo(Date value) {
            addCriterion("t.createDate <>", value, "createDate");
            return (Criteria) this;
        }

        /**
         *
         * @mbg.generated Tue Jul 28 18:06:23 CST 2020
         */
        public Criteria andCreateDateNotEqualToColumn(SysUserLike.Column column) {
            addCriterion(new StringBuilder("t.createDate <> ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andCreateDateGreaterThan(Date value) {
            addCriterion("t.createDate >", value, "createDate");
            return (Criteria) this;
        }

        /**
         *
         * @mbg.generated Tue Jul 28 18:06:23 CST 2020
         */
        public Criteria andCreateDateGreaterThanColumn(SysUserLike.Column column) {
            addCriterion(new StringBuilder("t.createDate > ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andCreateDateGreaterThanOrEqualTo(Date value) {
            addCriterion("t.createDate >=", value, "createDate");
            return (Criteria) this;
        }

        /**
         *
         * @mbg.generated Tue Jul 28 18:06:23 CST 2020
         */
        public Criteria andCreateDateGreaterThanOrEqualToColumn(SysUserLike.Column column) {
            addCriterion(new StringBuilder("t.createDate >= ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andCreateDateLessThan(Date value) {
            addCriterion("t.createDate <", value, "createDate");
            return (Criteria) this;
        }

        /**
         *
         * @mbg.generated Tue Jul 28 18:06:23 CST 2020
         */
        public Criteria andCreateDateLessThanColumn(SysUserLike.Column column) {
            addCriterion(new StringBuilder("t.createDate < ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andCreateDateLessThanOrEqualTo(Date value) {
            addCriterion("t.createDate <=", value, "createDate");
            return (Criteria) this;
        }

        /**
         *
         * @mbg.generated Tue Jul 28 18:06:23 CST 2020
         */
        public Criteria andCreateDateLessThanOrEqualToColumn(SysUserLike.Column column) {
            addCriterion(new StringBuilder("t.createDate <= ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andCreateDateIn(List<Date> values) {
            addCriterion("t.createDate in", values, "createDate");
            return (Criteria) this;
        }

        public Criteria andCreateDateNotIn(List<Date> values) {
            addCriterion("t.createDate not in", values, "createDate");
            return (Criteria) this;
        }

        public Criteria andCreateDateBetween(Date value1, Date value2) {
            addCriterion("t.createDate between", value1, value2, "createDate");
            return (Criteria) this;
        }

        public Criteria andCreateDateNotBetween(Date value1, Date value2) {
            addCriterion("t.createDate not between", value1, value2, "createDate");
            return (Criteria) this;
        }

        public Criteria andCreateUserIdIsNull() {
            addCriterion("t.createUserId is null");
            return (Criteria) this;
        }

        public Criteria andCreateUserIdIsNotNull() {
            addCriterion("t.createUserId is not null");
            return (Criteria) this;
        }

        public Criteria andCreateUserIdEqualTo(Integer value) {
            addCriterion("t.createUserId =", value, "createUserId");
            return (Criteria) this;
        }

        /**
         *
         * @mbg.generated Tue Jul 28 18:06:23 CST 2020
         */
        public Criteria andCreateUserIdEqualToColumn(SysUserLike.Column column) {
            addCriterion(new StringBuilder("t.createUserId = ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andCreateUserIdNotEqualTo(Integer value) {
            addCriterion("t.createUserId <>", value, "createUserId");
            return (Criteria) this;
        }

        /**
         *
         * @mbg.generated Tue Jul 28 18:06:23 CST 2020
         */
        public Criteria andCreateUserIdNotEqualToColumn(SysUserLike.Column column) {
            addCriterion(new StringBuilder("t.createUserId <> ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andCreateUserIdGreaterThan(Integer value) {
            addCriterion("t.createUserId >", value, "createUserId");
            return (Criteria) this;
        }

        /**
         *
         * @mbg.generated Tue Jul 28 18:06:23 CST 2020
         */
        public Criteria andCreateUserIdGreaterThanColumn(SysUserLike.Column column) {
            addCriterion(new StringBuilder("t.createUserId > ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andCreateUserIdGreaterThanOrEqualTo(Integer value) {
            addCriterion("t.createUserId >=", value, "createUserId");
            return (Criteria) this;
        }

        /**
         *
         * @mbg.generated Tue Jul 28 18:06:23 CST 2020
         */
        public Criteria andCreateUserIdGreaterThanOrEqualToColumn(SysUserLike.Column column) {
            addCriterion(new StringBuilder("t.createUserId >= ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andCreateUserIdLessThan(Integer value) {
            addCriterion("t.createUserId <", value, "createUserId");
            return (Criteria) this;
        }

        /**
         *
         * @mbg.generated Tue Jul 28 18:06:23 CST 2020
         */
        public Criteria andCreateUserIdLessThanColumn(SysUserLike.Column column) {
            addCriterion(new StringBuilder("t.createUserId < ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andCreateUserIdLessThanOrEqualTo(Integer value) {
            addCriterion("t.createUserId <=", value, "createUserId");
            return (Criteria) this;
        }

        /**
         *
         * @mbg.generated Tue Jul 28 18:06:23 CST 2020
         */
        public Criteria andCreateUserIdLessThanOrEqualToColumn(SysUserLike.Column column) {
            addCriterion(new StringBuilder("t.createUserId <= ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andCreateUserIdIn(List<Integer> values) {
            addCriterion("t.createUserId in", values, "createUserId");
            return (Criteria) this;
        }

        public Criteria andCreateUserIdNotIn(List<Integer> values) {
            addCriterion("t.createUserId not in", values, "createUserId");
            return (Criteria) this;
        }

        public Criteria andCreateUserIdBetween(Integer value1, Integer value2) {
            addCriterion("t.createUserId between", value1, value2, "createUserId");
            return (Criteria) this;
        }

        public Criteria andCreateUserIdNotBetween(Integer value1, Integer value2) {
            addCriterion("t.createUserId not between", value1, value2, "createUserId");
            return (Criteria) this;
        }

        public Criteria andUpdateUserIdIsNull() {
            addCriterion("t.updateUserId is null");
            return (Criteria) this;
        }

        public Criteria andUpdateUserIdIsNotNull() {
            addCriterion("t.updateUserId is not null");
            return (Criteria) this;
        }

        public Criteria andUpdateUserIdEqualTo(Integer value) {
            addCriterion("t.updateUserId =", value, "updateUserId");
            return (Criteria) this;
        }

        /**
         *
         * @mbg.generated Tue Jul 28 18:06:23 CST 2020
         */
        public Criteria andUpdateUserIdEqualToColumn(SysUserLike.Column column) {
            addCriterion(new StringBuilder("t.updateUserId = ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andUpdateUserIdNotEqualTo(Integer value) {
            addCriterion("t.updateUserId <>", value, "updateUserId");
            return (Criteria) this;
        }

        /**
         *
         * @mbg.generated Tue Jul 28 18:06:23 CST 2020
         */
        public Criteria andUpdateUserIdNotEqualToColumn(SysUserLike.Column column) {
            addCriterion(new StringBuilder("t.updateUserId <> ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andUpdateUserIdGreaterThan(Integer value) {
            addCriterion("t.updateUserId >", value, "updateUserId");
            return (Criteria) this;
        }

        /**
         *
         * @mbg.generated Tue Jul 28 18:06:23 CST 2020
         */
        public Criteria andUpdateUserIdGreaterThanColumn(SysUserLike.Column column) {
            addCriterion(new StringBuilder("t.updateUserId > ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andUpdateUserIdGreaterThanOrEqualTo(Integer value) {
            addCriterion("t.updateUserId >=", value, "updateUserId");
            return (Criteria) this;
        }

        /**
         *
         * @mbg.generated Tue Jul 28 18:06:23 CST 2020
         */
        public Criteria andUpdateUserIdGreaterThanOrEqualToColumn(SysUserLike.Column column) {
            addCriterion(new StringBuilder("t.updateUserId >= ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andUpdateUserIdLessThan(Integer value) {
            addCriterion("t.updateUserId <", value, "updateUserId");
            return (Criteria) this;
        }

        /**
         *
         * @mbg.generated Tue Jul 28 18:06:23 CST 2020
         */
        public Criteria andUpdateUserIdLessThanColumn(SysUserLike.Column column) {
            addCriterion(new StringBuilder("t.updateUserId < ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andUpdateUserIdLessThanOrEqualTo(Integer value) {
            addCriterion("t.updateUserId <=", value, "updateUserId");
            return (Criteria) this;
        }

        /**
         *
         * @mbg.generated Tue Jul 28 18:06:23 CST 2020
         */
        public Criteria andUpdateUserIdLessThanOrEqualToColumn(SysUserLike.Column column) {
            addCriterion(new StringBuilder("t.updateUserId <= ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andUpdateUserIdIn(List<Integer> values) {
            addCriterion("t.updateUserId in", values, "updateUserId");
            return (Criteria) this;
        }

        public Criteria andUpdateUserIdNotIn(List<Integer> values) {
            addCriterion("t.updateUserId not in", values, "updateUserId");
            return (Criteria) this;
        }

        public Criteria andUpdateUserIdBetween(Integer value1, Integer value2) {
            addCriterion("t.updateUserId between", value1, value2, "updateUserId");
            return (Criteria) this;
        }

        public Criteria andUpdateUserIdNotBetween(Integer value1, Integer value2) {
            addCriterion("t.updateUserId not between", value1, value2, "updateUserId");
            return (Criteria) this;
        }

        public Criteria andUpdateDateIsNull() {
            addCriterion("t.updateDate is null");
            return (Criteria) this;
        }

        public Criteria andUpdateDateIsNotNull() {
            addCriterion("t.updateDate is not null");
            return (Criteria) this;
        }

        public Criteria andUpdateDateEqualTo(Date value) {
            addCriterion("t.updateDate =", value, "updateDate");
            return (Criteria) this;
        }

        /**
         *
         * @mbg.generated Tue Jul 28 18:06:23 CST 2020
         */
        public Criteria andUpdateDateEqualToColumn(SysUserLike.Column column) {
            addCriterion(new StringBuilder("t.updateDate = ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andUpdateDateNotEqualTo(Date value) {
            addCriterion("t.updateDate <>", value, "updateDate");
            return (Criteria) this;
        }

        /**
         *
         * @mbg.generated Tue Jul 28 18:06:23 CST 2020
         */
        public Criteria andUpdateDateNotEqualToColumn(SysUserLike.Column column) {
            addCriterion(new StringBuilder("t.updateDate <> ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andUpdateDateGreaterThan(Date value) {
            addCriterion("t.updateDate >", value, "updateDate");
            return (Criteria) this;
        }

        /**
         *
         * @mbg.generated Tue Jul 28 18:06:23 CST 2020
         */
        public Criteria andUpdateDateGreaterThanColumn(SysUserLike.Column column) {
            addCriterion(new StringBuilder("t.updateDate > ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andUpdateDateGreaterThanOrEqualTo(Date value) {
            addCriterion("t.updateDate >=", value, "updateDate");
            return (Criteria) this;
        }

        /**
         *
         * @mbg.generated Tue Jul 28 18:06:23 CST 2020
         */
        public Criteria andUpdateDateGreaterThanOrEqualToColumn(SysUserLike.Column column) {
            addCriterion(new StringBuilder("t.updateDate >= ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andUpdateDateLessThan(Date value) {
            addCriterion("t.updateDate <", value, "updateDate");
            return (Criteria) this;
        }

        /**
         *
         * @mbg.generated Tue Jul 28 18:06:23 CST 2020
         */
        public Criteria andUpdateDateLessThanColumn(SysUserLike.Column column) {
            addCriterion(new StringBuilder("t.updateDate < ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andUpdateDateLessThanOrEqualTo(Date value) {
            addCriterion("t.updateDate <=", value, "updateDate");
            return (Criteria) this;
        }

        /**
         *
         * @mbg.generated Tue Jul 28 18:06:23 CST 2020
         */
        public Criteria andUpdateDateLessThanOrEqualToColumn(SysUserLike.Column column) {
            addCriterion(new StringBuilder("t.updateDate <= ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andUpdateDateIn(List<Date> values) {
            addCriterion("t.updateDate in", values, "updateDate");
            return (Criteria) this;
        }

        public Criteria andUpdateDateNotIn(List<Date> values) {
            addCriterion("t.updateDate not in", values, "updateDate");
            return (Criteria) this;
        }

        public Criteria andUpdateDateBetween(Date value1, Date value2) {
            addCriterion("t.updateDate between", value1, value2, "updateDate");
            return (Criteria) this;
        }

        public Criteria andUpdateDateNotBetween(Date value1, Date value2) {
            addCriterion("t.updateDate not between", value1, value2, "updateDate");
            return (Criteria) this;
        }
    }

    /**
     *
     * @mbg.generated do_not_delete_during_merge Tue Jul 28 18:06:23 CST 2020
     */
    public static class Criteria extends GeneratedCriteria {
        /**
         *
         * @mbg.generated Tue Jul 28 18:06:23 CST 2020
         */
        private SysUserLikeExample example;

        /**
         *
         * @mbg.generated Tue Jul 28 18:06:23 CST 2020
         */
        protected Criteria(SysUserLikeExample example) {
            super();
            this.example = example;
        }

        /**
         *
         * @mbg.generated Tue Jul 28 18:06:23 CST 2020
         */
        public SysUserLikeExample example() {
            return this.example;
        }

        /**
         *
         * @mbg.generated Tue Jul 28 18:06:23 CST 2020
         */
        public Criteria andIf(boolean ifAdd, ICriteriaAdd add) {
            if (ifAdd) {
                add.add(this);
            }
            return this;
        }

        public interface ICriteriaAdd {
            /**
             *
             * @mbg.generated Tue Jul 28 18:06:23 CST 2020
             */
            Criteria add(Criteria add);
        }
    }

    /**
     *
     * @mbg.generated Tue Jul 28 18:06:23 CST 2020
     */
    public static class Criterion {
        private String condition;

        private Object value;

        private Object secondValue;

        private boolean noValue;

        private boolean singleValue;

        private boolean betweenValue;

        private boolean listValue;

        private String typeHandler;

        public String getCondition() {
            return condition;
        }

        public Object getValue() {
            return value;
        }

        public Object getSecondValue() {
            return secondValue;
        }

        public boolean isNoValue() {
            return noValue;
        }

        public boolean isSingleValue() {
            return singleValue;
        }

        public boolean isBetweenValue() {
            return betweenValue;
        }

        public boolean isListValue() {
            return listValue;
        }

        public String getTypeHandler() {
            return typeHandler;
        }

        protected Criterion(String condition) {
            super();
            this.condition = condition;
            this.typeHandler = null;
            this.noValue = true;
        }

        protected Criterion(String condition, Object value, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.typeHandler = typeHandler;
            if (value instanceof List<?>) {
                this.listValue = true;
            } else {
                this.singleValue = true;
            }
        }

        protected Criterion(String condition, Object value) {
            this(condition, value, null);
        }

        protected Criterion(String condition, Object value, Object secondValue, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.secondValue = secondValue;
            this.typeHandler = typeHandler;
            this.betweenValue = true;
        }

        protected Criterion(String condition, Object value, Object secondValue) {
            this(condition, value, secondValue, null);
        }
    }
}